from django.conf.urls.defaults import *


urlpatterns = patterns('',
    (r'^login/$', 'django.contrib.auth.views.login', {'template_name': 'bugs/login.html'}),
    (r'^logout/$', 'django.contrib.auth.views.logout', {'template_name': 'bugs/logout.html'}),

    ('^$', 'homesite.bugs.views.projectselect'),
    ('^project/(\d+)/$', 'homesite.bugs.views.index'),
    ('^project/(\d+)/newbug$', 'homesite.bugs.views.newbug'),
    ('^project/(\d+)/newfeature$', 'homesite.bugs.views.newfeature'),
    ('^project/(\d+)/task/all$', 'homesite.bugs.views.alltask'),
    ('^project/(\d+)/task/active$', 'homesite.bugs.views.activetask'),
    ('^project/(\d+)/task/my$', 'homesite.bugs.views.curusertask'),
    
    ('^project/(\d+)/task/(\d+)/$', 'homesite.bugs.views.taskinfo'),

)


